package com.itheima.controller.results;

import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PathVariable;

public class Code {
    //   操作结果编码
    //添加
    public static final Integer SAVE_OK = 20011;
    public static final Integer SAVE_ERROR = 20010;
    //修改
    public static final Integer UPDATE_OK = 20021;
    public static final Integer UPDATE_ERROR = 20020;
    //删除
    public static final Integer DELETE_OK = 20031;
    public static final Integer DELETE_ERROR = 20030;
    //查询
    public static final Integer FIND_OK = 20041;
    public static final Integer FIND_ERROR = 20040;

}
